package edu.tju.education.model;

public class CoursePlan
{

        private long id;
        private long specialityId;
        private int admissionYear;
        private long subjectId;
        private String studyYear;
        private String studyTerm;
        private int weekTime;
        private boolean isFullTerm;
        private int week;
        
        public long getId()
        {
                return id;
        }

        public void setId(long id)
        {
                this.id = id;
        }

        public long getSpecialityId()
        {
                return specialityId;
        }

        public void setSpecialityId(long specialityId)
        {
                this.specialityId = specialityId;
        }

        public long getSubjectId()
        {
                return subjectId;
        }

        public void setSubjectId(long subjectId)
        {
                this.subjectId = subjectId;
        }

        public String getStudyYear()
        {
                return studyYear;
        }

        public void setStudyYear(String studyYear)
        {
                this.studyYear = studyYear;
        }

        public String getStudyTerm()
        {
                return studyTerm;
        }

        public void setStudyTerm(String studyTerm)
        {
                this.studyTerm = studyTerm;
        }

        public int getWeekTime()
        {
                return weekTime;
        }

        public void setWeekTime(int weekTime)
        {
                this.weekTime = weekTime;
        }

        /**
         * @return the admissionYear
         */
        public int getAdmissionYear()
        {
                return admissionYear;
        }

        /**
         * @param admissionYear the admissionYear to set
         */
        public void setAdmissionYear(int admissionYear)
        {
                this.admissionYear = admissionYear;
        }

        /* (non-Javadoc)
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString()
        {
                return "CoursePlan [admissionYear=" + admissionYear + ", id=" + id
                                + ", specialityId=" + specialityId + ", studyTerm=" + studyTerm
                                + ", studyYear=" + studyYear + ", subjectId=" + subjectId
                                + ", weekTime=" + weekTime + "]";
        }

        /**
         * @return the week
         */
        public int getWeek()
        {
                return week;
        }

        /**
         * @param week the week to set
         */
        public void setWeek(int week)
        {
                this.week = week;
        }

        /**
         * @return the isFullTerm
         */
        public boolean isFullTerm()
        {
                return isFullTerm;
        }

        /**
         * @param isFullTerm the isFullTerm to set
         */
        public void setFullTerm(boolean isFullTerm)
        {
                this.isFullTerm = isFullTerm;
        }

}
